/* BLES6.i */
%module BLES6
%include cpointer.i
%include "typemaps.i"
%{
    /* Put header files here or function declarations like below */
    #include "BLES6.h"
    extern int initialise(int argc, char *argv);
    extern void analysis(int itt, double *Py_disp, double *Py_alpha, int *Py_fixDof, double *Py_load);
    extern int sensitivity(double *Py_Nsens,double *Py_disp, double *Py_alpha);
    extern void optimize(void);
    extern void output(void);
    %}
%apply double *OUTPUT {  double *Py_disp, double *Py_alpha, int *Py_fixDof, double *Py_load ,double *Py_Nsens};
/*extern void main2(int argc, char *argv);*/
extern int initialise(int argc, char *argv);
extern void analysis(int itt,double *OUTPUT,double *OUTPUT,int *OUTPUT,double *OUTPUT);
extern int sensitivity(double *OUTPUT,double *Py_disp,double *Py_alpha);
extern void optimize(void);
extern void output(void);

